package com.bgs.dao;

import com.bgs.pojo.EmployeeInfo;
import com.bgs.pojo.Grade;
import com.bgs.pojo.vo.GradeVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface GradeMapper {
    int deleteByPrimaryKey(Integer pkId);

    int insert(Grade record);

    int insertSelective(Grade record);

    Grade selectByPrimaryKey(Integer pkId);

    int updateByPrimaryKeySelective(Grade record);

    int updateByPrimaryKey(Grade record);

    List<Grade> findAll(GradeVo gradeVo);

    List<Grade> cfindAllone(Integer pkId);

    List<EmployeeInfo> GradexlkBZR();
    List<EmployeeInfo> GradexlkJS();

    Integer number(String gradeId);
}